package com.lingjtx.iot.network.db;

import com.lingjtx.common.influx.annotation.Column;
import com.lingjtx.common.influx.annotation.Measurement;
import lombok.Data;

import java.util.Date;

@Data
@Measurement(name = "device_template")
public class DeviceTemplate {
    @Column(timestamp = true)
    private Date time;

    @Column(tag = true)
    private String deviceId;

    @Column(tag = true)
    private String companyId;
}
